package com.hopu.blb_erp.mapper;

import com.hopu.blb_erp.entity.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xxl
 * @since 2021-11-22
 */
public interface MenuMapper extends BaseMapper<Menu> {
    List<Menu> getMenuTree();

    List<Menu> listChild(Integer id);

    void deleteByPId(Integer pid);
}
